package com.test.service;

import java.util.List;

/**
 * Created by Lenovo on 2019/1/9.
 */
public interface BaseService<PO> {

    public int deleteByPrimaryKey(Long id);

    public int insert(PO po);

    public int insertSelective(PO record);

    public PO selectByPrimaryKey(Long id);

    public int updateByPrimaryKey(PO po);

    public int updateByPrimaryKeySelective(PO record);

    public List<PO> selectAll();

}
